import Icon from "./Icon.vue";

import {
    Tag,
    Button,
    Field,
    Form,
    Tab,
    Tabs,
    Search,
    Overlay,
    Empty,
} from "vant";
const Vant = [Tag, Button, Field, Form, Tab, Tabs, Search, Overlay, Empty];

const components = [Icon, ...Vant];
export default {
    install(Vue) {
        components.forEach((com) => {
            Vue.component(com.name, com);
        });
    },
};
